﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DrivingAlarm.Website
{
    public class WebsiteFactory
    {
        public static WebsiteBase GetWebsiteClass(WEBSITE_TYPE webType)
        {
            switch (webType)
            {
                case WEBSITE_TYPE.HANGZHOU_MOTOR:
                    return new HZMotor();
                case WEBSITE_TYPE.HANGZHOU_MOTOR_B:
                    return new HZMotorB();
                default:
                    return null;
            }
        }
    }
}
